home *** CD-ROM | disk | FTP | other *** search
/ Screen Effects / Screen Effects.iso / programs / weyes11 / weyes1.txt < prev    next >
Text File  |  1994-04-27  |  11KB  |  229 lines

  1.                    WEYES1.TXT
  2.                    ==========
  3.  
  4. wEyes -- What is it?
  5. --------------------
  6.  
  7.    "wEyes" is a Windows program that, although originally 
  8. designed purely for amusement, might actually be of use to some 
  9. computer users.  Inspired by the famous "xEyes" program run on 
  10. many UNIX-based xWindows systems, this program draws two eyes 
  11. in a window; the eyes then track the movement of the mouse.
  12.  
  13.    I gave the original version of this program (archived 
  14. in "weyes.zip") to a friend of mine who owns a notebook-size 
  15. computer with an LCD screen.  It seems that whenever he ran 
  16. Microsoft Windows, he had problems keeping track of the 
  17. location of his mouse pointer -- LCDs are notoriously slow, and 
  18. if he happened to move the mouse suddenly, he would have to 
  19. scan the entire LCD screen just to locate the pointer.  
  20. wEyes helped.
  21.  
  22.    Since he seemed to benefit, I decided to upload the 
  23. program to Compuserve and some other BBSs, to see if anyone 
  24. else enjoyed it.  To my surprise, that first version was much 
  25. more popular than I ever thought it would be.  Unfortunately, 
  26. though, I had never put the original version through any kind 
  27. of quality-control test.  In short, the program was less than 
  28. flawless.
  29.  
  30.    Enter wEyes v. 1.1.  This version possesses substantial 
  31. enhancements over the original version, including custom 
  32. colorization, elimination of minor bugs, and an all-around 
  33. better interface.  Enhancements are described more fully below.
  34.  
  35.    Basically, writing the program was a light exercise in 
  36. trigonometry.  The program checks the position of the mouse 
  37. pointer on a regular basis, and using slopes, arctangents, 
  38. sines, and cosines, determines where the "pupils" of the eyes -- 
  39. which are independent of each other -- should be.  
  40.  
  41.  
  42. Enhancements
  43. ------------
  44.  
  45.    - Interface:  wEyes v. 1.1 now sports two dialog boxes.  
  46. The first is the traditional "About" dialog box, which displays 
  47. version and other basic information.  The second is the "wEyes 
  48. Mission Control" dialog box, explained in more detail below.  
  49. This dialog box gives the user control over colors and "pupil 
  50. update rates." In addition to being functional, these dialog 
  51. boxes have a rather slick three-dimensional look.  No, I'm not 
  52. bragging -- the 3-D effect is due in large part to a dynamic-
  53. link library that I've incorporated into the program.  The file 
  54. is "three_d.dll," and it was written by a guy named Ray Donahue.  
  55. (If you are a programmer and like the look and feel of wEyes's 
  56. dialog boxes, you have my recommendation to license Donahue's 
  57. libraries.  They are flexible and incredibly easy to implement.  
  58. Ray can be reached at the following address:  Ray Donahue, 
  59. 365 Mather Street Unit 125, Hamden, CT 06514; or on Compuserve: 
  60. 70324,1204.  His libraries currently reside in the WINADV forum, 
  61. New Files section, on Compuserve.)  The only hitch here is that 
  62. wEyes will only support VGA monitors -- as for other monitors, 
  63. I cannot guarantee compatibility.
  64.  
  65.    - Colors:  wEyes v. 1.1 allows the user to define which 
  66. colors he or she wants for the "rims" and "pupils" of the 
  67. window's eyes.  To define customized colors, activate the 
  68. "Mission Control" dialog box.  This is accomplished by clicking 
  69. wEyes's control box (the little box in the top left-hand corner 
  70. of the window).  The control menu will appear.  At the very 
  71. bottom, you will notice two items: "About wEyes..." and "wEyes 
  72. Mission Control...."  Click once on "Mission Control."  The 
  73. Mission Control dialog box will appear.   
  74.    Next, find the two group boxes named "Outer rim color" 
  75. and "Pupil color," respectively.  Each box contains three 
  76. horizontal scrollbars.  Each scrollbar controls the intensity of 
  77. either the red, green, or blue color elements of your screen.  
  78. Move the scrollbars, and the color appearing in the window beside 
  79. the controls will change to reflect your handiwork.  When 
  80. satisfied, press the "OK" button.  If you just can't get it right, 
  81. that's alright -- just press the Cancel button and your wEyes will 
  82. not have changed.
  83.    Some of you probably own a notebook or laptop with a 
  84. monochrome LCD screen.  This does NOT mean that you can't take 
  85. advantage of the coloring capabilities included in this version.  
  86. As you probably know, different people prefer different 
  87. intensity settings when using LCD screens:  some prefer that 
  88. the screen look darker, while others can only work with a 
  89. lighter-shaded screen.  To the extent that your tastes differ 
  90. from the next guy's, the red-and-black default colors may be 
  91. difficult to see on your LCD screen.  If so, the Mission 
  92. Control color features can help.
  93.  
  94.    - Timer interval:  wEyes checks the position of the 
  95. mouse pointer at a predetermined time interval, and then 
  96. readjusts the position of the pupils accordingly.  In the 
  97. original version of wEyes, this "pupil update rate" was 100 
  98. milliseconds by default.  That parameter could be changed, 
  99. however, by including a command-line parameter.  The Mission 
  100. Control dialog box has eliminated the need for such a mechanism.  
  101. The interval can now be adjusted in much the same way as the 
  102. colors of the eyes.  When the scrollbar in the "Timer interval" 
  103. group box is adjusted, the number appearing in the edit box 
  104. to the right of the scrollbar will be similarly adjusted.  If 
  105. you want to enter a particular number in the edit box, however, 
  106. you need not use the scrollbar -- just click your mouse on the 
  107. edit box (or "tab over"), and type in the desired number.
  108.    If you are running a number of large applications 
  109. concurrently, you may want to slow the timer down a bit, so as 
  110. not to burden the other programs.  On the other hand, unless 
  111. you have a very fast machine, intervals of less than 50 
  112. milliseconds will probably not produce any additional speed 
  113. benefits; there will always be some lower limit for a given 
  114. machine.
  115.    - Initialization file:  The first time that you close 
  116. wEyes (or end a Windows session without closing wEyes first), 
  117. the program will create an initialization file in your WINDOWS 
  118. directory.  The file is called, appropriately enough, 
  119. "weyes.ini."  The next time that you run wEyes, the program 
  120. will "remember" the colors that you last specified, and will 
  121. automatically use them in your current session.  In addition, 
  122. unlike the original version, wEyes v. 1.1 will store the window's 
  123. size and position.  So rather than having to move and stretch 
  124. the window every time you start wEyes, the window will 
  125. automatically pop up exactly where you want it.  
  126.  
  127.    - Minimization:  As with the original version of wEyes, 
  128. wEyes v. 1.1 still works when minimized.  So if you need room 
  129. on your display, wEyes won't take up any more room than, say, 
  130. the Windows Clock program. 
  131.  
  132.    - Bugs:  Fallible?  Me?  I encountered one minor, 
  133. although annoying, bug in the original version of wEyes.  It 
  134. seems that, if I stretched the window far enough across the 
  135. screen, I would get an unrecoverable application error.  That 
  136. problem has since been put to bed.
  137.    Also, the original version had no mechanism for 
  138. aborting the program in the unlikely event that a timer could 
  139. not be created.  Should Windows already have the maximum number 
  140. of timers running, wEyes v. 1.1 will not run, but will display 
  141. a message informing the user of the problem. This version 
  142. appears to work pretty well.  Nonetheless, because I'm not 
  143. charging money for this program, it's difficult to justify 
  144. putting hours and hours into crash-testing the thing.  Thus, 
  145. I'm relying on user input.  If you find any bugs in this 
  146. version of wEyes, please drop me a line at the address below.  
  147. Or you can send me e-mail at Compuserve.  My address there is 
  148. 70724,3347 (UNIX systems: "70724.3347@compuserve.com").
  149.  
  150. ================================================================
  151.  
  152.             DISCLAIMER
  153.  
  154.    No copyright is claimed in "weyes.exe," "weyes.ini," 
  155. "weyes1.doc," "weyes1.wri," or "weyes1.txt" (collectively, 
  156. the "Software") by its author, Rob Carty ("Author").  No rights 
  157. related to the Software are granted by Author.  The user agrees 
  158. to use the Software at his or her own risk, and agrees not to 
  159. hold Author liable for any damages, direct, indirect, 
  160. consequential, incidental or otherwise, in tort, in contract, 
  161. or upon any other theory of law or equity, regardless of whether 
  162. such damages are caused by Author's own negligence or gross 
  163. negligence.
  164.  
  165.    The file named "three_d.dll" is copyrighted intellectual 
  166. property, distributed under license.  The user, however, need 
  167. not pay royalties for copying or using that file in conjunction 
  168. with the Software, pursuant to the license granted Author.
  169.  
  170. ================================================================
  171.  
  172. Loading instructions:
  173. ---------------------
  174.  
  175.    To load wEyes onto your Windows system, first copy 
  176. "weyes.exe," "weyes.txt," and "three_d.dll" to the directory of 
  177. your choice.  Next, enter Windows's Program Manager and select 
  178. a program group.  Then select "File," "New," "Program Item" 
  179. from the menu bar (in that order).  In the "Command Line" edit 
  180. box, type: "<Drive>:\<Pathname>\WEYES.EXE", where <Drive> and 
  181. <Pathname> are the drive and directory into which you have 
  182. installed the above program files.  Choose "OK."  When you want 
  183. to invoke the program, simply double-click the wEyes icon.  
  184.    To auto-load the program upon starting a Windows 
  185. session, open your "win.ini" file (located in your WINDOWS 
  186. directory) by using the Windows Notepad program.  Find the line 
  187. labeled "[windows]"; then look for the "load=" statement.  
  188. Beside that statement, type "<Drive>:\<Pathname>\WEYES.EXE", 
  189. again where <Drive> and <Pathname> are the drive and directory 
  190. into which you have installed the program files.The next time 
  191. that you invoke windows, wEyes will appear as a minimized 
  192. window at the bottom of your screen.  To run wEyes as a regular 
  193. (non-minimized) window, perform these same steps, except rather 
  194. than looking for the "load=" statement, look for the "run=" 
  195. statement.
  196.  
  197. ================================================================
  198.  
  199. This program is written mostly for fun.  If you do enjoy it and 
  200. would like to find out about other products and services 
  201. provided by OutLook/PC Business System Design, drop us a line 
  202. at:
  203.  
  204.       OutLook/PC Business System Design
  205.       ATTN: M. Bradley, MSSI
  206.       P.O. Box 684255          
  207.       Austin, TX  78768-4255
  208.  
  209.       Compuserve:  70724,3347
  210.  
  211. We usually specialize in more serious undertakings, 
  212. specifically management information systems.  Even more 
  213. specifically, we are seeking out small- to mid-sized law firms
  214. in South and Central Texas that require information systems
  215. and solutions (I have a J. D. -- University of Texas School of 
  216. Law, Class of 1991).  If you fit the above description (or if 
  217. you know anyone who does), please let us know.  We specialize 
  218. in building open, flexible information systems, and we can do 
  219. it quickly and cheaply.  And when we're done, our clients do 
  220. not become our slaves.
  221.  
  222. Thanks.
  223.  
  224. -- Rob Carty, President
  225.    1 March 1992
  226.  
  227.       
  228.   
  229.